package news.dao;

import news.model.Admin;
import news.model.Menu;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;


public interface LoginDao {
    Admin login(Admin admin);

    List<Menu> menus(int adminId);
}